#include <iostream>
using namespace std;

template<typename T>
class BinaryNode{

public:
  BinaryNode(const T& v,BinaryNode<T>* r,BinaryNode<T>* r)
    :value(v),left(l),right(r){
    }
  ~BinaryNode(){
   }
private:
  T value;
  BinaryNode<T>* left,*right;


}